package com.ruoyi.keep.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import com.baomidou.mybatisplus.annotation.TableField;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 收货地址对象 delivery_address
 * 
 * @author zqd
 * @date 2024-08-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeliveryAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收货地址ID */
    @TableId
    private Long id;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consignee;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipCode;

    /** 省 */
    @Excel(name = "省")
    private String provinces;

    /** 市 */
    @Excel(name = "市")
    private String cities;

    /** 县 */
    @Excel(name = "县")
    private String counties;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String fullAddress;

    /** 用户id */
    private Long userId;

    /** 是否默认（0是默认，1是非默认） */
    private Long fixed;

    /** 是否默认（0是默认，1是非默认） */
    @TableField(exist = false)
    private Boolean defa;

    /** 0正常，1删除 */
    @TableLogic
    private Long del;


}
